package demo1;

import org.springframework.stereotype.Component;

@Component
public class Person {
    public void sayHello() {
        System.out.println("Person:大家好!");
    }
}
